package com.shuziren.pojo.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class InterviewRecordDto {
    @NotNull(message = "页码 不能为空")
    @Min(value = 1, message = "页码 必须至少为1")
    private Integer pageNum;

    @NotNull(message = "每页大小 不能为空")
    @Min(value = 1, message = "每页大小 必须至少为1")
    private Integer pageSize;

}
